import { createApp } from 'vue'
import './style.css'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
const store = createPinia()
const app = createApp(App)
app.directive('color', {
  mounted(el, binding, vonde) {
    console.log(el, binding, vonde)
    el.style.color = 'red'
  }
})
app.use(Antd).use(router).use(store).mount('#app')
